package com.finance.api;



import com.finance.loan.ApplyForLoan;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author ChenHm
 * @Date 2021/5/18 17:04
 */
@Api(value = "申请贷款接口",description = "借款人授信后，可以申请贷款，提交审核，审核通过，等待放款,审核不通过借款失败")
public interface ApplyForLoanRestControllerApi {

    /**
     * 申请贷款
     * @param applyForLoan 要添加的申请贷款
     */

    @ApiOperation("申请贷款")
    void applyForLoan(ApplyForLoan applyForLoan) throws Exception;

}
